package org.openlab.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
	
@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "AppUser")
public class AppUser extends BaseEntity {
	private static final long serialVersionUID = 300741495339935184L;
	
	@Id
	private String username;
	@Column(nullable = false)
	private String firstname;
	@Column(nullable = false)
	private String lastname;
	@Column(nullable = false)
	private String password;
	@Column(nullable = false)
	private String email;
}
